package com.kason.repository;

import com.kason.entity.Role;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by IBM on 2018/6/30.
 */
public interface RoleRepository extends CrudRepository<Role, Long> {
    List<Role> findRolesByUserId(long id);
}
